package demo.cxf.app;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import demo.cxf.service.HelloWorld;

public class SpringClient {
	public static void main(String[] args) {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[] { "spring-client.xml" });
		HelloWorld client = (HelloWorld) context.getBean("client");
		String response = client.sayHi("Joe");
		System.out.println("Response: " + response);
	}

}
